#include <stdio.h>
#include <string.h>

int main() {
    char string1[] = "hello world!";
    char string2[] = "hello xywl!";
    int ret1 = strncmp(string1, string2, 5);
    int ret2 = strncmp(string1, string2, 7);
    printf("%d\n", ret1);
    printf("%d\n", ret2);
    return 0;
}